import sys
import os
from mtcnn_tf.mtcnn_batchprocess import mtcnn_batchprocess

c_mtcnn = mtcnn_batchprocess()
path_list1, file_list1 = c_mtcnn.get_file_list(file_path = '/ai/dataset/age_gender/20180115/clear2000', file_type = '.png')
print len(path_list1)
c_mtcnn.mtcnn_process(path_list = path_list1, file_list = file_list1, 
	margin_ratio = 0.143,resize_type = 2, controled_size = 256, error_pass = True, error_moveFile = True) 
